package org.subject.dao;

import org.subject.entity.Faculty;

import java.util.List;

public interface FacultyMapper {
    int deleteByPrimaryKey(Long facultyId);

    int insert(Faculty record);

    int insertSelective(Faculty record);

    Faculty selectByPrimaryKey(Long facultyId);

    int updateByPrimaryKeySelective(Faculty record);

    int updateByPrimaryKey(Faculty record);

    /**
     * 查询所有的院系
     *
     * @return
     */
    List<Faculty> selectAllFaculty();
}